﻿using Inovout.Kuajing.Lottery.Models;
using Inovout.Services;
using NHibernate.Criterion;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Inovout.Kuajing.Lottery.Services
{
    public class ActiveService : RepositoryService<Active>, IActiveService
    {
        public IList<Active> FindValikActives()
        {
            return base.Repository.FindAll(Restrictions.Eq("Enabled", true));
        }
    }
}
